package com.itheima.service;

import com.itheima.api.UmsMemberLevelServiceApi;
import com.itheima.pojo.UmsMemberLevel;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UmsMemberLevelService {
    @DubboReference
    private UmsMemberLevelServiceApi umsMemberLevelServiceApi;

    public List<UmsMemberLevel> list(Integer defaultStatus) {
        return umsMemberLevelServiceApi.list(defaultStatus);
    }
}